home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 015a / tech30.zip / TEC045.DOC < prev    next >
Text File  |  1993-04-06  |  3KB  |  59 lines

  1. ___________________________________________________________________________
  2. STACKER NOTE                                                   STACKER NOTE
  3. Title: Creating a Stacked RAM drive for Windows Temporary Swap Files 
  4. STACKER NOTE TEC045 - 02/08/93                         STAC FAX Index #3006
  5. ___________________________________________________________________________    
  6.                      
  7. Background.
  8.  
  9.    Windows can use temporary or permanent swap files as pseudo-memory.  A
  10.    permanent  swap  file  can  only  be created  on a  physical drive.  A 
  11.    temporary  swap  file can be created on either a physical  or  logical
  12.    drive.  Temporary swap files are much slower than permanent swap files
  13.    because DOS must be used to access them.  A temporary swap file  on  a
  14.    Stacker  drive is even slower. A temporary swap file on a Stacked  RAM
  15.    drive,  however,  can be faster than a permanent swap  file.  With  an
  16.    observed compression ratio of 3.0:1, 3Mb of RAM  that is allocated for
  17.    this  purpose  gives  a total of 9MB of usable memory  for  a  Windows
  18.    temporary swap file.
  19.  
  20. Procedure.
  21.  
  22.    Modify  your  CONFIG.SYS file to create a RAM drive.  In  the  example
  23.    below, X: is a generic representation of the drive letter for your RAM
  24.    drive.  Substitute the actual drive letter taken by your RAM drive for
  25.    all references to X: below.
  26.  
  27.    Sample CONFIG.SYS file.
  28.       
  29. DEVICE=C:\DOS\HIMEM.SYS
  30. DEVICE=C:\DOS\RAMDRIVE.SYS 3072 /e (Add this line to create the RAM drive)
  31. DEVICE=C:\STACKER\STACKER.COM C:\STACVOL.DSK @
  32. DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC+
  33. DEVICE=C:\STACKER\SCREATE.SYS X: /r=3 (Add this line to Stack your RAM drive)
  34. where X: = the drive letter for the RAM drive
  35.  
  36.    The  next  step is to add a line to your AUTOEXEC.BAT file, following
  37.    the PATH command line, to mount the Stacked RAM drive:
  38.  
  39.    C:\STACKER\STACKER X:
  40.  
  41.    Those  of  you who do not use Windows exclusively may want to  add  an
  42.    additional two lines to the AUTOEXEC.BAT file.  This will permit other
  43.    DOS-based  applications  to  use the Stacked  RAM  drive  for  storing
  44.    temporary  files:  These two lines should added after the  command  to
  45.    mount the Stacked RAM drive referenced above.
  46.  
  47.    SET TEMP=X:\
  48.    SET TMP =X:\
  49.  
  50.    Finally, in the Windows SYSTEM.INI file, make the following changes or
  51.    additions  to  allow  Windows  to use the  Stacked  RAM  drive  for  a
  52.    temporary swap file:
  53.  
  54.    [386enh]
  55.    PagingFile=X:\WIN386.SWP
  56.    MinUserDiskSpace=1
  57. ___________________________________________________________________________
  58. Copyright 1993, Stac Electronics
  59.